package mollmapsgenerator;


import java.util.ArrayList;
import java.util.List;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author hanis
 */
public class Land {

    private String name;
    private String path;
    private List<String> signatures;


    public Land() {
        signatures = new ArrayList<String>();
    }


    public List<String> getSignatures() {
        return signatures;
    }

    public void addSignature(String signature) {
        this.signatures.add(signature);
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getName()).append(" | ").append(getPath()).append("\n");
        for (String string : signatures) {
            sb.append(string).append("\n");
        }
        return sb.toString();
    }





}
